﻿using System;
using GuidanceExplorer.Controls;

namespace GuidanceExplorerAddIn.EventsArgs
{
	public class NewViewEventArgs : EventArgs
	{
		private ViewNode node = null;
		private string caption = "";

		public string Caption
		{
			get { return caption; }
		}

		public ViewNode Node
		{
			get { return node; }
		}

		public NewViewEventArgs(ViewNode node, String text)
		{
			this.node = node;
			this.caption = text;
		}
	}
}
